package com.nativetalk.bean.rongyun;

import com.nativetalk.common.rongCloud.util.GsonUtil;

public class TokenResult {
    public Integer code;
    public String token;
    public String userId;
    public String errorMessage;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, TokenResult.class);
    }
}
